package cc.mrbird.demo.config;

import cc.mrbird.demo.domain.CherryFactoryBean;
import cc.mrbird.demo.domain.Hello;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

/**
 * @author: chenhs
 * @date: Created in 21:15 2020/3/17
 **/
@Configuration
@Import({Hello.class})
public class WebConfig4 {

    @Bean
    public CherryFactoryBean cherryFactoryBean(){
        return new CherryFactoryBean();
    }

}
